.page {
  flex: 1 1 auto;
  padding-bottom: 30px;
  overflow: hidden;
  background: #192c53;
  border-radius: 20px;
}

.accountInfo {
  margin: 30px 20px 20px 20px;
  padding: 34px 30px 34px 50px;
  background: #203259;
  border: 1px solid #273e6a;
  border-radius: 14px;
  .content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .title {
      margin-bottom: 5px;
      color: #fff;
      font-size: 16px;
      line-height: 22px;
      opacity: 0.5;
    }

    .momey {
      display: flex;
      align-items: baseline;
      color: #fff;

      .unit {
        margin-right: 6px;
        font-weight: 600;
        font-size: 40px;
        letter-spacing: 1px;
      }

      .text {
        font-weight: 600;
        font-size: 40px;
        letter-spacing: 1px;
      }
    }

    .buttons {
      display: flex;
      align-items: center;
      margin-top: 20px;
      .bill {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 92px;
        height: 34px;
        margin-right: 20px;
        margin-left: 20px;
        color: #fff;
        background: #254df8;
        border-radius: 6px;
        cursor: pointer;
        &:hover {
          background: #3b5ff8;
        }
      }
      .tx {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 34px;
        color: #fff;
        background: #254df8;
        border-radius: 8px;
        cursor: pointer;
        &:hover {
          background: #3b5ff8;
        }
        .icon {
          width: 16px;
          height: 16px;
          margin-left: 4px;
          background: url('~@/assets/pc/images/account/icon-tx.png') no-repeat center / 100%;
        }
      }
    }

    .alipay {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 34px;
      margin-right: 20px;
      margin-left: 14px;
      padding: 0 19px;
      color: #fff;
      background: rgba(48, 180, 255, 0.5);
      border: 1px solid #30b4ff;
      border-radius: 8px;
      cursor: pointer;
      &:hover {
        background: rgba(48, 180, 255, 0.7);
        border: 1px solid #30b4ff;
      }

      .icon {
        width: 20px;
        height: 20px;
        margin-right: 5px;
        background: url('~@/assets/pc/images/account/icon-alipay.png') no-repeat center / 100%;
      }
    }

    .dx {
      width: 180px;
      height: 34px;
      margin-left: 14px;
      color: #000;
      line-height: 34px;
      text-align: center;
      background: #fee500;
      border-radius: 8px;
      cursor: pointer;
      &:hover {
        background-color: #fef280;
      }
    }

    // .media {
    //   .avatar {
    //     min-width: 55px;
    //     min-height: 55px;
    //     max-width: 55px;
    //     max-height: 55px;
    //     margin-bottom: 12px;
    //   }

    //   .name {
    //     line-height: 33px;
    //     font-size: 24px;
    //   }
    // }

    // @media screen and (max-width: 1300px) {
    //   .media()
    // }

    // @media screen and (min-width: 1440px) and (max-width: 1600px) {
    //   .media()
    // }
  }
}

.cjjoyQuanWrapper {
  margin: 16px 0;
  padding: 0 20px;
}

.cjjoyQuan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
  background: #203259;
  border: 1px solid #273e6a;
  border-radius: 14px;

  .left {
    display: flex;
    align-items: center;

    .icon {
      width: 55px;
      height: 50px;
      background: url('~@/assets/pc/images/account/cjjoy.png') no-repeat center / 100%;
    }

    .text {
      margin: 0 2px 0 8px;
      color: #fff;
      font-size: 16px;
    }

    .num {
      color: #fee500;
      font-weight: 600;
      font-size: 16px;
    }
  }

  .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 40px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;

    .icon {
      width: 16px;
      height: 16px;
      margin-left: 2px;
      background: url('~@/assets/pc/images/account/icon-go.png') no-repeat center / 100%;
    }
  }
}

.yhqWrapper {
  padding: 0 20px;
}

.yhq {
  padding: 20px 14px;
  background: #203259;
  border: 1px solid #273e6a;
  border-radius: 14px;
  .section {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .header {
    height: 20px;
    margin-bottom: 12px;
    color: #7688a5;
    font-size: 14px;
    line-height: 20px;
  }

  .body {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;

    .item {
      width: 360px;
      height: 66px;
      padding: 5px;

      &.actived {
        .content {
          color: #fff;
          background: url('~@/assets/pc/images/account/yhqbg-actived.png') no-repeat center / 100%;

          .time {
            color: #e6a4a4;
          }
        }
      }
    }

    .content {
      display: flex;
      align-items: center;
      width: 100%;
      height: 100%;
      color: #7688a5;
      background: url('~@/assets/pc/images/account/yhqbg.png') no-repeat center / 100%;

      .left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 94px;
        overflow: hidden;

        .num {
          font-size: 18px;
          white-space: nowrap;
        }

        .mj {
          font-size: 12px;
        }
      }

      .center {
        flex: 1 1 auto;
        width: 0;
        padding: 0 11px 0 18px;
        font-size: 12px;

        .name,
        .time {
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }

      .right {
        width: 40px;
        height: 40px;
        color: #fee500;
        font-size: 12px;
        line-height: 40px;
        text-align: center;
        border-left: 1px solid #b74a4a;
      }
    }
  }
}

.yhqEmpty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 25px;
  padding-bottom: 50px;
  color: #7688a5;
  font-size: 16px;

  .icon {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    background: url('~@/assets/pc/images/account/icon-yhqempty.png') no-repeat center / 100%;
  }
}
.myModal {
  :global {
    .ant-modal-content {
      background: #1c3a6a;
      border-radius: 12px;
    }

    .ant-modal-close-x {
      color: #fff;
    }

    .ant-modal-body {
      padding: 20px;
    }
  }

  .header {
    margin-bottom: 26px;
    padding: 4px 0;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
  }

  .body {
    .form {
      .formfooter {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 20px;
        .item {
          margin-right: 12px;
          color: #fee500;
          font-size: 12px;
        }
      }
      .formTitle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
      }
      .codeWrapper {
        position: relative;
        .code {
          position: absolute;
          top: 36px;
          right: 19px;
          width: 96px;
          height: 22px;
          padding-left: 17px;
          border-left: 1px solid #21355d;
        }
      }
      :global {
        .ant-form-item-control-input-content {
          width: 100%;
        }
        .ant-form-item-label {
          height: 20px;
          margin-bottom: 4px;
          font-size: 14px;
          line-height: 20px;
          label {
            width: 100%;
            font-size: 13px;
          }
        }

        .ant-form-item-label > label {
          color: #7688a5;

          &::before {
            display: none;
          }
        }

        .ant-input {
          height: 44px;
          padding: 0 11px;
          color: #fff;
          font-size: 16px;
          background: #192c53 !important;
          border: none;
          border-radius: 8px;

          &-disabled {
            background-color: #244272 !important;
          }

          &:hover,
          &:focus {
            border: none;
            outline: none;
            box-shadow: none;
          }
        }

        .input-money {
          .ant-input {
            font-size: 34px;
          }
        }

        .form-item-money {
          margin-bottom: 6px;
        }

        .ant-input-affix-wrapper {
          display: flex;
          align-items: baseline;
          font-size: 18px;
          background-color: #192c53 !important;
          border: none !important;
          border-radius: 8px;

          .ant-input-prefix {
            color: #fff !important;
          }

          &:hover,
          &:focus {
            border: none;
            outline: none;
            box-shadow: none;
          }
        }
      }
    }
  }

  .wait {
    display: block;
    width: 35px;
    height: 35px;
    margin: 0 auto;
    background: url('~@/assets/pc/images/account/icon-wait.png') no-repeat center / 100%;
  }

  .tips {
    margin: 14px 0 12px 0;
    color: #fff;
    font-size: 16px;
    text-align: center;
  }

  .des {
    color: #7688a5;
    text-align: center;
  }

  .footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;

    .btn {
      width: 120px;
      height: 36px;
      margin-right: 30px;
      color: #fff;
      line-height: 36px;
      text-align: center;
      background: #254df8;
      border-radius: 20px;
      cursor: pointer;

      &:last-child {
        margin-right: 0;
      }
    }

    .cancel {
      color: #fff;
      background: #2f5083;
    }
  }
}
.billModal {
  :global {
    .ant-modal-body {
      padding: 0;
    }
  }

  .header {
    padding-top: 20px;
  }

  .body {
    max-height: 500px;
    padding: 0 20px;
    overflow-y: auto;
    border-top: 1px solid #2c4977;

    .item {
      display: flex;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #2c4977;

      .left {
        flex: 1 1 auto;
        width: 0;
      }

      .name {
        margin-bottom: 4px;
        color: #fff;
      }

      .time {
        color: #7688a5;
        font-size: 12px;
      }

      .money {
        color: #fff;

        &.add {
          color: #fee500;
        }
      }
    }
  }
}

// 老带新课程
.ldx-propover {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      width: 272px;
      max-height: 274px;
      padding: 6px;
      overflow-y: auto;
      background: #1c3a6a;
      border: 1px solid #192c53;
      box-shadow: 0px 15px 38px 0px rgba(8, 25, 54, 0.49);
    }

    .ant-popover-inner-content {
      width: 100%;
      padding: 0;
    }
  }

  .ldx {
    height: 100%;

    .item {
      align-items: center;
      height: 29px;
      margin-bottom: 4px;
      padding: 6px;
      overflow: hidden;
      color: #ffffff;
      font-size: 12px;
      white-space: nowrap;
      text-overflow: ellipsis;
      background: #214277;
      border-radius: 4px;
      cursor: pointer;
      &:hover {
        background-color: #254df8;
      }
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}
